﻿namespace TrinityEngine
{
    public abstract class Renderer : Component
    {
        protected abstract void Render();

        public void CallRender()
        {
            if (!enabled)
            {
                return;
            }

            Render();
        }
    }
}
